projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30d46f9
)
admin: Fix lookup of active root
author
Colin Walters
<walters@verbum.org>
Thu, 7 Mar 2013 21:46:41 +0000
(16:46 -0500)
committer
Colin Walters
<walters@verbum.org>
Thu, 7 Mar 2013 21:46:41 +0000
(16:46 -0500)
This should hopefully *really* fix deleting running deployments
https://bugzilla.gnome.org/show_bug.cgi?id=694762
src/ostree/ot-admin-functions.c
patch
|
blob
|
history
diff --git
a/src/ostree/ot-admin-functions.c
b/src/ostree/ot-admin-functions.c
index c642ab842be4957e2998ac7523feb73b0c2e9175..f28ea73c56f9844b5d53dc60e130fb2ac53c3c32 100644
(file)
--- a/
src/ostree/ot-admin-functions.c
+++ b/
src/ostree/ot-admin-functions.c
@@
-406,7
+406,7
@@
ot_admin_get_active_deployment (GFile *ostree_dir,
guint32 deploy_dev;
guint64 deploy_inode;
- deployment_info = g_file_query_info (
rootfs_path
, OSTREE_GIO_FAST_QUERYINFO,
+ deployment_info = g_file_query_info (
deployment
, OSTREE_GIO_FAST_QUERYINFO,
G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
cancellable, error);
if (!deployment_info)